﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Shsc.Net.Web.Models.LoginDto>" %>

<asp:Content ID="aboutTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Asp.Net Mvc Sample Login
</asp:Content>

<asp:Content ID="LoginContent" ContentPlaceHolderID="MainContent" runat="server">
    <div style="text-align: center;">
        <div id="main"
            style="width:300px;left:-width/2; margin-left:auto; margin-right:auto;text-align: left; ">
            <% using (Html.BeginForm()) { %>
                <%=Html.ValidationSummary(true) %>
                <fieldset>
                        <legend><%=Html.Lang("LOGIN") %></legend>
                        <div class="editor-label">
                            <%=Html.Lang("LOGINID") %>
                        </div>
                        <div class="editor-field">
                            <%= Html.TextBoxFor(model => model.LoginId) %><br />
                            <%= Html.ValidationMessageFor(model => model.LoginId)%>
                        </div>
                        <div class="editor-label">
                           <%=Html.Lang("LOGINPASSWORD")%>
                        </div>
                        <div class="editor-field">
                            <%= Html.PasswordFor(model => model.LoginPassWord) %><br />
                            <%= Html.ValidationMessageFor(model => model.LoginPassWord) %>
                        </div>
                        <p>
                        <input type="submit" value="<%=Html.Lang("LOGINBUTTON") %>" />
                        </p>
                </fieldset>    
            <% } %>
        </div>
    </div>
</asp:Content>
